package cn.wolfcode.p2p.base.service;

import cn.wolfcode.p2p.base.domain.UserInfo;
import cn.wolfcode.p2p.business.domain.BidRequest;

public interface IUserInfoService {
    int insert(UserInfo userInfo);
    int update(UserInfo userInfo);

    UserInfo select(Long id);

    /**
     * 获取当前用户信息
     * @return
     */
    UserInfo getCurrent();

    /**
     * 保存用户的基本信息
     * @param userInfo
     */
    void saveBasicInfo(UserInfo userInfo);

    UserInfo get(Long id);
}
